<template>
    <div class="my-return">
        <h2>{{title}}</h2>
        <el-button type="info" size="mini" icon="el-icon-arrow-left" slot="prepend" @click="myReturn()">返回</el-button>

    </div>
</template>

<script>
    export default {
        name:'myReturn',
        data(){
            return{
                title:""
            }

        },
        methods:{
            myReturn(){
                this.$router.push("/temManage")
            } 
        },
        created(){
            this.title=this.$route.params.row.name
           
        }
        
    }
</script>

<style  scoped>
.my-return{
    display: flex;
    padding: 10px;
}

</style>